package cn.qj.ymcc.mapper;

import cn.qj.ymcc.domain.PayOrder;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author whale
 * @since 2025-07-31
 */
@Mapper
public interface PayOrderMapper extends BaseMapper<PayOrder> {

    /**
     * 更新订单状态和流水号
     * @param outTradeNo
     * @param date
     * @param payStatus
     */
    void updateStatusByOrderNo(@Param("outTradeNo")  String outTradeNo,@Param("date") Date date,@Param("payStatus") Integer payStatus);
}
